import 'package:app/components/tree/treeItemButton.dart';
import 'package:flutter/cupertino.dart';

class TreeItem extends Widget{

  late bool? expand;

  final String? label;

  late bool? checked = false;

  final List<TreeItem>? children;

  final List<TreeItemButton>? buttons;

  TreeItem({
    super.key,
    this.expand,
    this.label,
    this.checked,
    this.children,
    this.buttons
  }) : super();

  @override
  Element createElement() {
    // TODO: implement createElement
    throw UnimplementedError();
  }

}